add_definitions(-DCROSS_COMPILE)

if(CLR_CMAKE_PLATFORM_ARCH_AMD64 AND CLR_CMAKE_TARGET_ARCH_ARM)
    set(FEATURE_CROSSBITNESS 1)
endif(CLR_CMAKE_PLATFORM_ARCH_AMD64 AND CLR_CMAKE_TARGET_ARCH_ARM)

set (CLR_CROSS_COMPONENTS_LIST
    crossgen   
    clrjit
)

if(NOT CLR_CMAKE_PLATFORM_LINUX AND NOT FEATURE_CROSSBITNESS)
    list (APPEND CLR_CROSS_COMPONENTS_LIST
        mscordaccore
        mscordbi
        sos
    )
endif()
